import ReactRouter from '../@zrv/ReactRouter'
import Home from '../components/Home'
import Hello from '../components/Hello'
import Counter from '../components/Counter'
import NoMatch from '../components/NoMatch'

const routes = [
    {
        path: '/',
        component: Home,
    },
    {
        path: '/hello',
        component: Hello,
    },
    {
        path: '/counter',
        component: Counter,
    },
    {
        component: NoMatch
    }
]

const router = new ReactRouter({
    routes,
})

export default router;